package com.thesis.object;
/**
 * Table class
 * 
 * get detail of table
 * 
 * @author NgocTuyen
 *
 */
public class Table {
	//variable of detail of table
	private int id;
	private String tableName;
	private int number;
	private int managerId;
	private String managerFirstName;
	private String managerLastName;
	private int waiterId;
	private int statusId;
	private int extraTable;
	private int bookingStatusId;
	private String bookingStatus;
	private String bookingTime;
	private String bookingDescription;
	private String status;
	private String description;
	private String image;
	
	/**
	 * Constructor function
	 * 
	 * Constructor
	 * 
	 * @access public
	 * 
	 * @param id : id of table
	 * @param tableName: name of table
	 * @param number: number of chair of talbe
	 * @param managerId: id of manager manage table
	 * @param managerFirstName: first name of manager
	 * @param managerLastName: last name of manager
	 * @param waiterId: id of waiter serve table
	 * @param statusId: id of status
	 * @param status: status of table
	 * @param desciption: description of table
	 * @param image: image of table
	 * 
	 * @return void
	 */
	public Table(int id, String tableName, int number, int managerId, String managerFirstName, String managerLastName, int waiterId, int statusId, String status, int extraTable, int bookingStatusId, String bookingStatus, String bookingTime, String bookingDescription, String desciption, String image) {
		// TODO Auto-generated constructor stub
		this.id = id;
		this.tableName = tableName;
		this.number = number;
		this.managerId = managerId;
		this.managerFirstName = managerFirstName;
		this.managerLastName = managerLastName;
		this.statusId = statusId;
		this.status = status;
		this.extraTable = extraTable;
		this.bookingStatusId = bookingStatusId;
		this.bookingStatus = bookingStatus;
		this.bookingTime = bookingTime;
		this.bookingDescription = bookingDescription;
		this.description = desciption;
		this.image = image;
		this.waiterId = waiterId;
	}
	
	/**
	 * getId function
	 * 
	 * get id of table
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return int
	 *  + id of table
	 */
	public int getId(){
		return id;
	}
	
	/**
	 * getTableName function
	 * 
	 * get name of table
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 *  + name of table
	 */
	public String getTableName(){
		return tableName;
	}
	
	/**
	 * getNumber function
	 * 
	 * get number of table
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return int
	 *  + number of chair in table
	 */
	public int getNumber(){
		return number;
	}
	
	/**
	 * getManagerId function
	 * 
	 * get id of manager manage table
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return int
	 *  + id of manager manage table
	 */
	public int getManagerId(){
		return managerId;
	}
	
	/**
	 * getManagerFirstName function
	 * 
	 * get first name of manager
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 *  + first name of manager manage table
	 */
	public String getManagerFirstName(){
		return managerFirstName;
	}
	
	/**
	 * getManagerLastName function
	 * 
	 * get last name of manager manage table
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 *  + last name of manager manage table
	 */
	public String getManagerLastName(){
		return managerLastName;
	}
	
	/**
	 * getStatusId function
	 * 
	 * get id of status of table
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return int
	 *  + id of status of table
	 */
	public int getStatusId(){
		return statusId;
	}
	
	/**
	 * getStatus function
	 * 
	 * get status of table
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 *  + status of table
	 */
	public String getStatus(){
		return status;
	}
	
	/**
	 * getExtraTable function
	 * 
	 * get id of extra table
	 * 
	 * @access public
	 * 
	 * @param null;
	 * 
	 * @return int
	 * + id of extra table
	 */
	public int getExtraTable(){
		return extraTable;
	}
	
	/**
	 * getDescription function
	 * 
	 * get description of table
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 *  + description of table
	 */
	public String getDescription(){
		return description;
	}
	
	/**
	 * getImage function
	 * 
	 * get image of table
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 *  + image url of table
	 */
	public String getImage(){
		return image;
	}
	
	/**
	 * getWaiterId function
	 * 
	 * get id of waiter serve table
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return int
	 *  + id of waiter serve of table
	 */
	public int getWaiterId(){
		return waiterId;
	}

	/**
	 * getBookingStatusId function
	 * 
	 * get id of booking status of table
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return int
	 * + id of booking status
	 */
	public int getBookingStatusId() {
		return bookingStatusId;
	}

	/**
	 * getBookingStatus function
	 * 
	 * get booking status of table is free or in booking
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 * + booking status
	 */
	public String getBookingStatus() {
		return bookingStatus;
	}

	/**
	 * getBookingTime function
	 * 
	 * get booking table time
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 * + booking time
	 */
	public String getBookingTime() {
		return bookingTime;
	}

	/**
	 * getBookingDescription function
	 * 
	 * get description of booking table
	 * 
	 * @access public
	 * 
	 * @param null
	 * 
	 * @return String
	 * + description of booking table
	 */
	public String getBookingDescription() {
		return bookingDescription;
	}
}
